<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>购物车</title>
    
    <link rel="stylesheet" href="../../css/amazeui.min.css">
    <link rel="stylesheet" href="css/shop.css">
    <link rel="stylesheet" href="css/app.css">
    
    <style>
    	body{
    		
    	}
    	#nocart{position:absolute;top:50%;text-align: center;font-size:13px}
    	
    </style>
</head>
<body>



<div id='header' class="am-g am-topbar-fixed-top" >
	<div  onclick="api.closeWin();"  class="am-u-sm-2" style="margin-top:12px;padding-left: 17px">
		<img  src="images/arr-l.png" style="height:14px;height: 18px;"/>
	</div> 
	<div class="am-u-sm-8 til" style="margin-top:13px;text-align:center;">
		<h1>购物车</h1>
	</div>
	<div class="am-u-sm-2" onclick="clearCart();" style="margin-top:14px;color:white;text-align:center;font-size: 14px;">
	    清空
	</div>
</div>



<div class="am-g" id="nocart" style="display: none;font-size:14px;">
	<div class="am-u-sm-12">
	       <img src="images/nocart.png"  style="width: 50px;height: 50px;"/>
	</div>
	<div class="am-u-sm-12" style="margin-top: 3px">
	    ╯▂╰ 购物车都饿扁了，快去喂它吧
	</div>
</div>



<div class="am-g" id="yescart"  style="margin-top:55px">

	<div class="am-u-sm-12" id="cartItem" style="margin-bottom: 80px">
		  	 
	</div>

</div>





<div class="am-g am-topbar-fixed-bottom" id="jiesuan"  style=" background:#eaedf1;padding:5px 0px;display:none">
	<div class="am-u-sm-12">
		<!--
		<div class="am-u-sm-6" style="float: left;padding-top:8px;">
			<input type="checkbox" id="" />全选
		</div>
		-->
		<!--
		<div class="am-u-sm-1" style="float: left;padding-top:8px;">
			<input type="checkbox" id="" />
			
		</div>
		-->
		
		<div class="am-u-sm-8" style="float: left;font-size: 14px;">
			<span style="color:red;">总计：￥  <span id="cartTotal"></span> </span> <br/>
			<span style="font-size:14px;">数量： <span id="cartbuyNum"></span></span>
		</div>
		
		
		<!--
		<div class="am-u-sm-2">
			  <button class="am-btn am-btn-default" ng-click="del('')" style="border-radius:5px;color:#f40;border-color:#f40;">
				 
				     删除
			 </button>
		</div>
		-->
		
		<div onclick="buy();" class="am-u-sm-4 bottonradius" style="float:right;text-align: center;font-size: 14px;">
		     结算
		</div>
	</div>
	
</div>


	
</body>



<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript" src="js/cart.js"></script>

</html>